package com.inspur.edp.ai.flow.spi;

import com.inspur.edp.ai.flow.engine.FlowContext;
import com.inspur.edp.ai.flow.metadata.AbsNode;
import io.iec.edp.caf.multicontext.annotation.Collect;

import java.util.Map;

/**
 * @author lizhaorui
 * @date 2025/8/15
 * @description
 */

@Collect
public interface NodeExecutor {

    String getKind();

    NodeExecuteResult execute(FlowContext context, AbsNode node, Map<String,Object> argMap);

}